<template>
    <div>
        <div class="box-a"></div>
    </div>
</template>


<script>
export default {};

</script>
<style scoped>
.box-a{
    width: 100px;
    height: 100px;
    background: orange;
    position: relative;
    animation: myframe 5s infinite;
}
@keyframes myframe {
    from{
        top:0px;
    }
    to{
        top:200px;
    }
}
/* @keyframes myframe {
    0%{
        top:0px
    }
    100%{
        top:200px
    }
} */
</style>